﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FormatTest
{
    public struct NalUnitType
    {
        /// <summary>
        /// 0 未指定
        /// </summary>
        public static int NotAssign = 0;

        /// <summary>
        /// 1 一个非 IDR图像的编码条带
        /// </summary>
        public static int SliceLayerWithoutPartitioningRbsp = 1;

        /// <summary>
        /// 2 编码条带数据分割块A
        /// </summary>
        public static int slice_data_partition_a_layer_rbsp = 2;

        /// <summary>
        /// 3 编码条带数据分割块B
        /// </summary>
        public static int slice_data_partition_b_layer_rbsp = 3;

        /// <summary>
        /// 4 编码条带数据分割块C
        /// </summary>
        public static int slice_data_partition_c_layer_rbsp = 4;

        /// <summary>
        /// 5 IDR图像的编码条带
        /// </summary>
        public static int slice_layer_without_partitioning_rbsp = 5;

        /// <summary>
        /// 6 辅助增强信息 (SEI)
        /// </summary>
        public static int sei_rbsp = 6;

        /// <summary>
        /// 7 序列参数集
        /// </summary>
        public static int seq_parameter_set_rbsp = 7;

        /// <summary>
        /// 8 图像参数集B
        /// </summary>
        public static int pic_parameter_set_rbsp = 8;

        /// <summary>
        /// 9 访问单元分隔符
        /// </summary>
        public static int access_unit_delimiter_rbsp = 9;

        /// <summary>
        /// 10 编码条带数据分割块B
        /// </summary>
        public static int end_of_seq_rbsp = 10;

        /// <summary>
        /// 11 流结尾
        /// </summary>
        public static int end_of_stream_rbsp = 11;

        /// <summary>
        /// 12 填充数据
        /// </summary>
        public static int FillerDataRbsp = 12;

        /// <summary>
        /// 13 序列参数集扩展
        /// </summary>
        public static int SeqParameterSetExtensionRbsp = 13;

        /// <summary>
        /// 19 未分割的辅助编码图像的编码条带
        /// </summary>
        /// <returns></returns>
        public static int SliceLayerWithoutPartitioningRbsp = 19;
    }
}
